<?php

namespace Home\Controller;

use Think\Controller;

class IndexController extends Controller {

    public function index() {
        $where = array('status' => 1);
        $result = M('banner')->where($where)->order('sort asc')->select();
        $this->assign('list', $result);
        $this->display();
    }

    public function tsfw() {
        $this->display();
    }

}
